<?php

class Raid_Model_RaidDungeons extends Pldkp_Db_Table_Abstract
{
    protected $_name = 'raid_dungeons';
    
    protected $_referenceMap    = array(
        'Raid' => array(
            'columns'           => array('raid_id'),
            'refTableClass'     => 'Raid_Model_Raids',
            'refColumns'        => array('id'),
            'onDelete'          => self::CASCADE
        ),
        'Dungeon' => array(
            'columns'           => array('dungeon_id'),
            'refTableClass'     => 'Raid_Model_Dungeons',
            'refColumns'        => array('id'),
            'onDelete'          => self::CASCADE
        )
    );
}